<?php if (!defined('THINK_PATH')) exit(); /*a:7:{s:93:"/Applications/mampstack/apache2/htdocs/cps/public/../application/admin/view/core/useradd.html";i:1506683185;s:91:"/Applications/mampstack/apache2/htdocs/cps/public/../application/admin/view/public/css.html";i:1506681694;s:96:"/Applications/mampstack/apache2/htdocs/cps/public/../application/admin/view/public/page_css.html";i:1505294022;s:91:"/Applications/mampstack/apache2/htdocs/cps/public/../application/admin/view/public/top.html";i:1506681856;s:92:"/Applications/mampstack/apache2/htdocs/cps/public/../application/admin/view/public/menu.html";i:1506682391;s:92:"/Applications/mampstack/apache2/htdocs/cps/public/../application/admin/view/public/foot.html";i:1505294022;s:90:"/Applications/mampstack/apache2/htdocs/cps/public/../application/admin/view/public/js.html";i:1506681752;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <!-- Title and other stuffs -->
    <title>编辑用户</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="">
    <!-- Stylesheets -->
<link href="/static/admin/style/bootstrap.css" rel="stylesheet">
<!-- Font awesome icon -->
<link rel="stylesheet" href="/static/admin/style/font-awesome.css">
<!-- jQuery UI -->
<link rel="stylesheet" href="/static/admin/style/jquery-ui.css">
<!-- Calendar -->
<link rel="stylesheet" href="/static/admin/style/fullcalendar.css">
<!-- prettyPhoto -->
<link rel="stylesheet" href="/static/admin/style/prettyPhoto.css">
<!-- Star rating -->
<link rel="stylesheet" href="/static/admin/style/rateit.css">
<!-- Date picker -->
<link rel="stylesheet" href="/static/admin/style/bootstrap-datetimepicker.min.css">
<!-- CLEditor -->
<link rel="stylesheet" href="/static/admin/style/jquery.cleditor.css">
<!-- Bootstrap toggle -->
<link rel="stylesheet" href="/static/admin/style/bootstrap-switch.css">
<!-- Main stylesheet -->
<link href="/static/admin/style/style.css" rel="stylesheet">
<!-- Widgets stylesheet -->
<link href="/static/admin/style/widgets.css" rel="stylesheet">

<!-- HTML5 Support for IE -->
<!--[if lt IE 9]>
<script src="/static/admin/js/html5shim.js"></script>
<![endif]-->
<style>
    .muen_open{
        background-color: #ebebeb;
        /*background-color: #0993d3;
        background: -webkit-gradient(linear, left top, left bottom, from(#1aaef3), to(#0993d3));
        background: -webkit-linear-gradient(top, #1aaef3, #0993d3);
        background: -moz-linear-gradient(top, #1aaef3, #0993d3);
        background: -ms-linear-gradient(top, #1aaef3, #0993d3);
        background: -o-linear-gradient(top, #1aaef3, #0993d3);
        background: linear-gradient(top, #1aaef3, #0993d3);*/
        box-shadow: none;
        color: #fff;
        font-weight: bold;
    }
    .sidebar{
        margin-top: 0px;
    }
    .content{
        margin-top: 10px;;
    }
    header{
        margin-bottom: -10px;;
    }
    .required{
        color: #e25856;
        margin-left: 4px;
    }
</style>
    <style>
.pagination {
  margin: 20px 0;
}
.pagination ul {
  display: inline-block;
  list-style:none;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
  margin-left: 0;
  margin-bottom: 0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pagination ul > li {
  display: inline;
}
.pagination ul > li > a,
.pagination ul > li > span,
.pagination #lastspan {
  float: left;
  padding: 4px 12px;
  line-height: 20px;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-left-width: 0;
}
.pagination ul > li > a:hover,
.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
  background-color: #f5f5f5;
}
.pagination ul > .active > a,
.pagination ul > .active > span {
  color: #999999;
  cursor: default;
}
.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover,
.pagination ul > .disabled > a:focus {
  color: #999999;
  background-color: transparent;
  cursor: default;
}
.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
  border-left-width: 1px;
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-bottom-left-radius: 4px;
}
.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span,
.pagination #lastspan {
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  border-bottom-right-radius: 4px;
}
.pagination-centered {
  text-align: center;
}
.pagination-right {
  text-align: right;
}
.pagination-large ul > li > a,
.pagination-large ul > li > span,
.pagination-large #lastspan{
  padding: 11px 19px;
  font-size: 17.5px;
}
.pagination-large ul > li:first-child > a,
.pagination-large ul > li:first-child > span {
  -webkit-border-top-left-radius: 6px;
  -moz-border-radius-topleft: 6px;
  border-top-left-radius: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-bottomleft: 6px;
  border-bottom-left-radius: 6px;
}
.pagination-large ul > li:last-child > a,
.pagination-large ul > li:last-child > span,
.pagination-large #lastspan {
  -webkit-border-top-right-radius: 6px;
  -moz-border-radius-topright: 6px;
  border-top-right-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  border-bottom-right-radius: 6px;
}
.pagination-mini ul > li:first-child > a,
.pagination-small ul > li:first-child > a,
.pagination-mini ul > li:first-child > span,
.pagination-small ul > li:first-child > span {
  -webkit-border-top-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-left-radius: 3px;
}
.pagination-mini ul > li:last-child > a,
.pagination-small ul > li:last-child > a,
.pagination-mini ul > li:last-child > span,
.pagination-small ul > li:last-child > span {
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  border-bottom-right-radius: 3px;
}
.pagination-small ul > li > a,
.pagination-small ul > li > span {
  padding: 2px 10px;
  font-size: 11.9px;
}
.pagination-mini ul > li > a,
.pagination-mini ul > li > span {
  padding: 0 6px;
  font-size: 10.5px;
}
.pagination a{
  color: #337ab7;
}
</style>

</head>

<body>

<div class="navbar navbar-fixed-top bs-docs-nav" role="banner">

    <div class="conjtainer">
        <!-- Menu button for smallar screens -->
        <div class="navbar-header">
            <button class="navbar-toggle btn-navbar" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
                <span>菜单</span>
            </button>
            <!-- Site name for smallar screens -->
            <a href="/" class="navbar-brand hidden-lg">首页</a>
        </div>

        <!-- Navigation starts -->
        <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">

            <ul class="nav navbar-nav">

                <!-- Sync to server link -->
                <li class="dropdown dropdown-big">
                    <a href="javascript:;" onclick="window.location.reload();" class="dropdown-toggle"><span class="label label-danger"><i class="icon-refresh"></i></span> 刷新页面</a>
                </li>

            </ul>

            <!-- Links -->
            <ul class="nav navbar-nav pull-right">
                <li class="dropdown pull-right">
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <i class="icon-user"></i> <?php echo \think\Session::get('user_name'); ?> <b class="caret"></b>
                    </a>

                    <!-- Dropdown menu -->
                    <ul class="dropdown-menu">
                        <li><a href="/admin/index/uppwd"><i class="icon-user"></i> 修改密码</a></li>
                        <li><a href="/admin/login/loginout"><i class="icon-off"></i> 退出</a></li>
                    </ul>
                </li>

            </ul>
        </nav>

    </div>
</div>

<!-- Main content starts -->

<div class="content">

    <!-- 左侧菜单 -->
    <div class="sidebar">
    <div class="sidebar-dropdown"><a href="#">导航</a></div>

    <!--- Sidebar navigation -->
    <ul id="nav">
        <!-- Main menu with font awesome icon -->
        <!--<li>
            <a href="/"
                <if condition="$controller_name eq 'Index'">
                    class="open"
                </if>
            ><i class="icon-home"></i> 首页</a>
        </li>-->
        <li class="has_sub">
            <a href="#"><i class="icon-list-alt"></i> 系统管理  <span class="pull-right"><i class="icon-chevron-right"></i></span></a>
            <ul
                <?php if(\think\Request::instance()->controller() == 'Core'): ?>
                    style="display:block;"
                <?php endif; ?>
            >
                <li
                    <?php if(preg_match('/^user/', \think\Request::instance()->action()) == 1): ?>
                        class="muen_open"
                    <?php endif; ?>
                ><a href="/admin/core/user">系统用户管理</a></li>
                <li
                    <?php if(preg_match('/^config/', \think\Request::instance()->action()) == 1): ?>
                        class="muen_open"
                    <?php endif; ?>
                ><a href="/core/config">系统设置</a></li>
            </ul>
        </li>
        <li class="has_sub">
            <a href="#"><i class="icon-tasks"></i> 单条内容管理  <span class="pull-right"><i class="icon-chevron-right"></i></span></a>
            <ul
                <?php if(\think\Request::instance()->controller() == 'Domains'): ?>
                    style="display:block;"
                <?php endif; ?>
            >
            <li
                <?php if(preg_match('/^ld/', \think\Request::instance()->action()) == 1): ?>
                    class="muen_open"
                <?php endif; ?>
            ><a href="/domains/ld">管理</a></li>
            </ul>
        </li>

    </ul>
</div>
    <!-- 左侧菜单 ends -->

    <!-- Main bar -->
    <div class="mainbar">

        <!-- Page heading -->
        <div class="page-head">
            <h2 class="pull-left"><i class="icon-home"></i> 编辑系统用户</h2>

            <!-- Breadcrumb -->
            <div class="bread-crumb pull-right">
                <a href="#" class="bread-current">系统管理</a>
            </div>

            <div class="clearfix"></div>

        </div>
        <!-- Page heading ends -->



        <!-- Matter -->

        <div class="matter">
            <div class="container">

                <!-- Dashboard Graph starts -->

                <div class="row">
                    <div class="col-md-12">


                        <div class="widget wgreen">

                            <div class="widget-head">
                                <div class="pull-left">Forms</div>
                                <div class="widget-icons pull-right">
                                    <a href="#" class="wminimize"><i class="icon-chevron-up"></i></a>
                                    <a href="#" class="wclose"><i class="icon-remove"></i></a>
                                </div>
                                <div class="clearfix"></div>
                            </div>

                            <div class="widget-content">
                                <div class="padd">
                                    <!-- Form starts.  -->
                                    <form class="form-horizontal" role="form" method="post" id="form1" action="/admin/core/userAdd" gotourl="/admin/core/user">

                                        <div class="form-group">
                                            <label class="col-lg-4 control-label">用户名</label>
                                            <div class="col-lg-8">
                                                <input type="text" name="username" id="username" class="form-control" value="<?php echo $info['user_name']; ?>" placeholder="请输入用户名" errmsg="请输入用户名" validata="required">
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-lg-4 control-label">密码</label>
                                            <div class="col-lg-8">
                                                <input type="password" name="password" id="password" class="form-control" placeholder="默认tkpassword">
                                            </div>
                                        </div>

                                        <hr />
                                        <div class="form-group">
                                            <div class="col-lg-offset-1 col-lg-9">
                                                <if condition="$info.username neq ''">
                                                    <input type="hidden" name="edit" value="1" />
                                                    <input type="hidden" name="id" value="<?php echo $info['id']; ?>" />
                                                </if>
                                                <button type="button" class="btn btn-primary" onclick="form_add()">确定</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                            <div class="widget-foot">
                                <!-- Footer goes here -->
                            </div>
                        </div>

                    </div>
                </div>
                <!-- Dashboard graph ends -->


            </div>
        </div>

        <!-- Matter ends -->

    </div>

    <!-- Mainbar ends -->
    <div class="clearfix"></div>

</div>
<!-- Content ends -->

<!-- Footer starts -->
<footer>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <!-- Copyright info -->
                <p class="copy">Copyright &copy; 2012 | <a href="#">Your Site</a> </p>
            </div>
        </div>
    </div>
</footer>
<!-- Footer ends -->

<!-- Scroll to top -->
<span class="totop"><a href="#"><i class="icon-chevron-up"></i></a></span>

<!-- JS -->
<script src="/static/admin/js/jquery.js"></script> <!-- jQuery -->
<script src="/static/admin/js/bootstrap.js"></script> <!-- Bootstrap -->
<script src="/static/admin/js/jquery-ui-1.9.2.custom.min.js"></script> <!-- jQuery UI -->
<script src="/static/admin/js/fullcalendar.min.js"></script> <!-- Full Google Calendar - Calendar -->
<script src="/static/admin/js/jquery.rateit.min.js"></script> <!-- RateIt - Star rating -->
<script src="/static/admin/js/jquery.prettyPhoto.js"></script> <!-- prettyPhoto -->

<!-- jQuery Flot -->
<script src="/static/admin/js/excanvas.min.js"></script>
<script src="/static/admin/js/jquery.flot.js"></script>
<script src="/static/admin/js/jquery.flot.resize.js"></script>
<script src="/static/admin/js/jquery.flot.pie.js"></script>
<script src="/static/admin/js/jquery.flot.stack.js"></script>

<!-- jQuery Notification - Noty -->
<script src="/static/admin/js/jquery.noty.js"></script> <!-- jQuery Notify -->
<script src="/static/admin/js/themes/default.js"></script> <!-- jQuery Notify -->
<script src="/static/admin/js/layouts/bottom.js"></script> <!-- jQuery Notify -->
<script src="/static/admin/js/layouts/topRight.js"></script> <!-- jQuery Notify -->
<script src="/static/admin/js/layouts/top.js"></script> <!-- jQuery Notify -->
<!-- jQuery Notification ends -->

<script src="/static/admin/js/sparklines.js"></script> <!-- Sparklines -->
<script src="/static/admin/js/jquery.cleditor.min.js"></script> <!-- CLEditor -->
<script src="/static/admin/js/bootstrap-datetimepicker.min.js"></script> <!-- Date picker -->
<script src="/static/admin/js/bootstrap-switch.min.js"></script> <!-- Bootstrap Toggle -->
<script src="/static/admin/js/filter.js"></script> <!-- Filter for support page -->
<script src="/static/admin/js/custom.js"></script> <!-- Custom codes -->
<script src="/static/admin/js/charts.js"></script> <!-- Charts & Graphs -->


<script src="/static/admin/js/system/jquery.form.js"></script>
<script src="/static/admin/js/system/layer/layer.js"></script>
<script src="/static/admin/js/system/form.js"></script>
</body>
</html>